'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function SubscribeMultipleItems( _ ByVal client As IEasyDAClient, _ ByVal itemGroupArgumentsArray() As DAItemGroupArguments, _ ByVal callback As EasyDAItemChangedEventHandler _ ) As Integer()
'Usage
Dim client As IEasyDAClient Dim itemGroupArgumentsArray() As DAItemGroupArguments Dim callback As EasyDAItemChangedEventHandler Dim value() As Integer value = IEasyDAClientExtension.SubscribeMultipleItems(client, itemGroupArgumentsArray, callback)
[Extension()] [NotNull()] public static int[] SubscribeMultipleItems( IEasyDAClient client, DAItemGroupArguments[] itemGroupArgumentsArray, EasyDAItemChangedEventHandler callback )
[Extension()] [NotNull()] public: static array<int>^ SubscribeMultipleItems( IEasyDAClient^ client, array<DAItemGroupArguments^>^ itemGroupArgumentsArray, EasyDAItemChangedEventHandler^ callback )
Parameters
- client
- The client object that will perform the operation.
- itemGroupArgumentsArray
- Array of arguments, one element per each OPC item involved in the operation.
- callback
- A callback method to be invoked for each significant item change.
Return Value
The function returns an array of integer handles. Each such uniquely identifies the item subscription. The indices of elements in the output array are the same as those in the input array, itemGroupArgumentsArray.